css: Change the way case variants are handled
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Nov 2021 13:08:19 +0000 (08:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 8 Nov 2021 19:17:42 +0000 (14:17 -0500)
commit60c45dac5640eb74839ae4a8c535943c82bbf4af
tree1c5261f7214939bb928b004e9a507d043683a1ce
parent7bee4fa44bdea2fad7433f0ba76dd492e20dd679
css: Change the way case variants are handled

Instead of translating font-variant-caps directly
to OpenType features, translate them to a PangoVariant,
now that that enumeration reflects all the css values.

This allows pango to emulate Small Caps for fonts that
don't support the OpenType feature.
gtk/gtkcssstyle.c